<%--
  Created by IntelliJ IDEA.
  User: xin
  Date: 2024/9/19
  Time: 下午3:36
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" import="java.util.Enumeration" %>
<head>
    <meta charset="UTF-8">
    <title>登录信息|request</title>
</head>
<body bgcolor="#ccffcc">
<h1>您刚才输入的内容是?</h1>
<%
    Enumeration enu = request.getParameterNames();
    // 循环枚举里的多个属性名
    while (enu.hasMoreElements()) {
        String paramterName = (String) enu.nextElement();
        String paramterValue = request.getParameter(paramterName);
        out.print("参数名称" + " : " + paramterName + "<br>");
        out.print("参数内容" + " : " + paramterValue + "<br>");
    }
%>
</body>
</html>